package com.zyd.module.admin.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author tiezhu
 * @email 1766419110@mail.com
 * @date 2022-04-04 00:17:38
 */
@Data
@TableName("customer")
@NoArgsConstructor
@ToString
public class CustomerEntity  implements Serializable {
	private static final long serialVersionUID = 1L;

	public CustomerEntity(String id, Integer delFlag) {
		this.id = id;
		this.delFlag = delFlag;
	}

	/**
	 * 客户联系信息表主键ID
	 */
	@TableId(value = "id",type = IdType.ID_WORKER)
	private String id;

	/**
	 * 客户姓名
	 */
	@TableField("cus_name")
	private String cusName;

	/**
	 * 客户邮箱
	 */
	@TableField("cus_email")
	private String cusEmail;

	/**
	 * 客户联系电话
	 */
	@TableField("cus_phone")
	private String cusPhone;

	@TableField("address")
	private String address;

	/**
	 * 客户留言
	 */
	@TableField("cus_msg")
	private String cusMsg;

	/**
	 * 咨询产品名称
	 */
	@TableField("pro_name")
	private String proName;

	/**
	 * 客户信息提交时间
	 */
	@TableField(value = "create_time",fill = FieldFill.INSERT)
	private Date createTime;

	/**
	 * 是否删除
	 */
	@TableField("del_flag")
	private Integer delFlag;


}
